package com.ssky.bean.validator.core;

import java.nio.charset.Charset;
import java.util.concurrent.atomic.AtomicLong;

public class VldConstants {

  public static final String  Utf8="UTF-8";
  public static final Charset Charset_Utf8 =  Charset.forName(Utf8);

  public static final AtomicLong Atomic_Long= new AtomicLong(1L);

  public static final String ValidatorId_Separate = ";";
  
  public static final String DepScope_Bean = "bean";

  public static final String DepScope_Local = "local";

//  public static final String DEPSCOPE_SELF = "self";

  public static final String RuleType_Method = "Method";


  /**  相对于bean，全局的 */
  public static final String V_Get_Field_Bean = "$bean.";

  /**  相对的 */
  public static final String V_Get_Field_Local = "$local.";
  /**  自己 */
  public static final String V_Get_Field_This = "$this";
  
  public static final String V_Get_Field_Context = "$context.";




  public static final String FLAG_START_METHODUTILS_METHODNAME = "methodCheck";
  
  public static final String FLAG_METHODUTILS_METHOD_PARAMNAME = "record";
  
  public static final String FLAG_START_GETVALUE_BY_FIELDID_CLASS_METHODNAME = "GetValueByFieldId$";
  
  public static final String FLAG_GETVALUE_BY_FIELDID_CLASS_METHOD_PARAMNAME = "sgm";
  
  public static final String FLAG_MATCH_D_SEPARATOR = "\\|\\+\\|";
  
  public static final String FLAG_MATCH_V_SEPARATOR = ",";
  
  public static final String FLAG_CHECKER_SET_INJECT = "set";
  
  public static final String FLAG_JAVA_PACKAGE_SEPARATOR = ".";
}